package com.example.timer;

import java.util.HashMap;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import com.example.jms.SendJMS;
import com.example.util.Constants;
public class Notice {
	private static Logger logger=LoggerFactory.getLogger(Notice.class);
	@Autowired
	SendJMS send;
	public void notice(){
		logger.info("timer start");
		Map<String ,Object> map=new HashMap<String,Object>();
		map.put("mobileid", System.nanoTime());
		send.send(Constants.telecomJMS.value, map);
	}

}
